package stu.officedrunker.applications.lucky.service.impl;

import java.util.List;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import stu.officedrunker.applications.lucky.dao.LuckyDAO;
import stu.officedrunker.applications.lucky.service.LuckyService;
import stu.officedrunker.applications.lucky.vo.LuckyRequestVO;

@Service
@Transactional(rollbackFor = Exception.class, propagation = Propagation.REQUIRED)
public class LuckyServiceImpl implements LuckyService {
	
	private Logger log = LoggerFactory.getLogger(this.getClass());
	
	@Autowired
	private LuckyDAO luckyDAO;

	@Override
	public void getTest(LuckyRequestVO luckyVO) {
		log.debug("Lucky Service Impl !!");
		luckyDAO.getTest(luckyVO);
	}
	
}